
var http = require('http');
http.createServer(function (req, res) {
    console.log("request:" + req.method + " to " + req.url);
    res.writeHead(200, "OK");
    res.write("<h1>Hello World</h1><p>Node.js is running</p>");
    res.end();
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');